\testfile{pgfplotstest.axispath.tex}
\testsection{Testing path commands inside of axis}
\testsubsection{log plot}
\starttikzpicture
\startloglogaxis[title=A test title,xlabel=Dof,ylabel=Error]
\loglogtestplot

\draw (axis cs:9217,	3.261015e-06) -| (axis cs:4097,	1.207141e-05);

\node[pin=45:good!] at (axis cs:1023,	1.038865e-03) {};
\stoploglogaxis
\stoptikzpicture

\testsubsection{Linear plot}
\starttikzpicture
\startaxis
\smallplotstest

\draw (axis cs:-1,0) -- (axis cs:1,1);

\node[font={\switchtobodyfont[small]},pin=45:{$(-0.25,0.0625)$}] at (axis cs:-0.25,	0.0625) {};
\stopaxis
\stoptikzpicture

\testsection{Checking plot expression}
\starttikzpicture
\startaxis[domain=1:4,ymin=0,ymax=3,enlargelimits]
\smallplotstest
\addlegendentry{$g(x)$}

\addplot (\x,{0.05*exp(\x)});
\addlegendentry{$f(x) = \frac{1}{20}  e^x$}
\stopaxis
\stoptikzpicture

\starttikzpicture
\startaxis[ymin=0,ymax=4,enlargelimits]
\addplot plot[domain=2:4.5] (\x,{0.05*exp(\x)});
\addlegendentry{$f(x) = \frac{1}{20} e^x$}
\stopaxis
\stoptikzpicture
